package com.wanxi.pojo;

public class User {
    int userid;
    String username;
    String userpassword;
    String usertype;

    public User(int userid, String username, String userpassword, String usertype) {
        this.userid = userid;
        this.username = username;
        this.userpassword = userpassword;
        this.usertype = usertype;
    }

    public User() {

    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUsertype() {
        return usertype;
    }

    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", usertype='" + usertype + '\'' +
                '}';
    }
}
